import Vue from 'vue'
import Router from 'vue-router'
import HomePage from '@/components/HomePage'
import Sign from '@/components/signpage/Sign'
import Students from '@/components/Students'
import Video from '@/components/videopage/Video'
import Videodetail from '@/components/videopage/Videodetail'
import Literature from '@/components/literaturepage/Literature'
import Literaturedetail from '@/components/literaturepage/components/Literaturedetail'
Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'HomePage',
      component: HomePage
    },{
    path: '/sign',
    name: 'Sign',
    component: Sign
  },{
    path: '/students',
    name: 'Students',
    component: Students
  },{
    path: '/video',
    name: 'Video',
    component: Video
  },
    {
      path: '/videodetail',
      name: 'Videodetail',
      component: Videodetail
    },{
    path: '/literature',
    name: 'Literature',
    component: Literature
  },{
    path: '/literaturedetail',
    name: 'Literaturedetail',
    component: Literaturedetail
  }]
})
